using UnityEngine;
using System.Collections;

public class UserControl : MonoBehaviour
{
    public PlantNode m_MainStem;

    // Use this for initialization
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {
        // spawn buds
        if (Input.GetKeyDown(KeyCode.Space))
        {
            m_MainStem.Spawn();
        }
    }
}
